package org.yi.web.friendlink;

import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.yi.core.model.Pager;
import org.yi.web.base.BaseController;
import org.yi.web.friendlink.entity.FriendLinkEntity;

import com.jfinal.plugin.activerecord.Page;

@RequiresAuthentication
public class FriendLinkController extends BaseController {
	
	
	public void index() {
		
		Pager pager = getPager();
		Page<FriendLinkEntity> page = FriendLinkEntity.dao.getPager(pager);
		
		setAttr("page", page);
		render("list.html");
	}
	

}
